package org.issaclu.springbootmybatis.util;

import org.apache.commons.lang3.StringUtils;

import java.util.UUID;

public class Utils {

    public static String uuid() {
        return UUID.randomUUID().toString().replaceAll("-", "").toUpperCase();
    }

    public static boolean isBlank(String str) {
        return StringUtils.isBlank(str);
    }

    public static boolean isNotBlank(String str) {
        return !isBlank(str);
    }
}
